//
//  RealmBaseModel.h
//  EagleCloud
//
//  Created by Cer on 2019/8/5.
//
//
// 类的创建者: 宋鸿康
// 类的描述说明: 所有realm的基类


#import <Realm/Realm.h>

@interface YsRealmToolsBaseModel : RLMObject
/// 必须定义主键
+ (NSString *)primaryKey;
@end

// This protocol enables typed collections. i.e.:
// RLMArray<RealmBaseModel *><RealmBaseModel>
RLM_ARRAY_TYPE(RealmBaseModel)
